<h1>Listing route_instances</h1>

<table>
  <tr>
    <th>Day</th>
    <th>Courier</th>
    <th>Route</th>
  </tr>

<% @route_instances.each do |route_instance| %>
  <tr>
    <td><%=h route_instance.day %></td>
    <td><%=h route_instance.courier_id %></td>
    <td><%=h route_instance.route_id %></td>
    <td><%= link_to 'Show', route_instance %></td>
    <td><%= link_to 'Edit', edit_route_instance_path(route_instance) %></td>
    <td><%= link_to 'Destroy', route_instance, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New route_instance', new_route_instance_path %>